#--**coding:utf-8**--

import hashlib

class craetMd5:

    def __init__(self,interName):
        self.interName = interName

    def creatmd5(self):
        md5interName = hashlib.md5()
        md5interName.update(self.interName.decode('utf-8'))
        md5interNameResult = md5interName.hexdigest()
        return md5interNameResult


if __name__ == '__main__':
    aa = craetMd5('ss').creatmd5()
    print aa